package cn.formaggie.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

import java.util.Map;

@Controller
@RequestMapping("/fore")
public class ForeController {

    @RequestMapping(value = "/aboutOur")
    public ModelAndView aboutOur(){
        ModelAndView mav=new ModelAndView();
        mav.addObject("page","about_our");
        mav.addObject("pageName","关于我们");
        mav.setViewName("/forepage/foreTemp");
        return mav;
    }
}
